package com.vdongchina.miniapp.http.dto;

import com.fasterxml.jackson.annotation.JsonAlias;
import lombok.Data;

import java.io.Serializable;

/**
 * Copyright (C)
 * FileName: CreateOrderResp
 * Author:   maokai
 * Date:     2021/8/12 16:20
 * Description:
 */
@Data
public class CreateOrderResp extends ServiceResp {

    private Data data;

    @lombok.Data
    public static class Data implements Serializable {
        @JsonAlias(value = "order_id")
        private String channelOrderId;
        @JsonAlias(value = "order_token")
        private String orderToken;
        private Long orderId;
    }
}
